package com.goalias.service;

import com.goalias.domain.dto.LoginDto;
import com.goalias.domain.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.goalias.domain.vo.LoginVo;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author goalias
 * @since 2024-12-02
 */
public interface IUserService extends IService<User> {

    LoginVo login(LoginDto loginDto);

    boolean register(User user);

    void logout(Long userId,String tokenHeader);


    boolean updateInfo(User user);
}
